|
@@ -10,7 +10,7 @@ function registration_callback($username, $email, $userdir)
|
|
|
global $data;
|
|
global $data;
|
|
|
$data = array($username, $email, $userdir);
|
|
$data = array($username, $email, $userdir);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+require_once("translate.php");
|
|
|
require_once("user.php");
|
|
require_once("user.php");
|
|
|
$USER = new User("registration_callback");
|
|
$USER = new User("registration_callback");
|
|
|
date_default_timezone_set(TIMEZONE);
|
|
date_default_timezone_set(TIMEZONE);
|
|
@@ -654,17 +654,17 @@ endif;
|
|
|
|
|
|
|
|
<div class="sort-todo">
|
|
<div class="sort-todo">
|
|
|
|
|
|
|
|
- <a class="total-tabs">Tabs <span class="badge gray-bg"></span></a>
|
|
|
|
|
|
|
+ <a class="total-tabs"><?php echo $language->translate("TABS");?> <span class="badge gray-bg"></span></a>
|
|
|
|
|
|
|
|
<button id="iconHide" type="button" class="btn waves btn-labeled btn-success btn-sm text-uppercase waves-effect waves-float">
|
|
<button id="iconHide" type="button" class="btn waves btn-labeled btn-success btn-sm text-uppercase waves-effect waves-float">
|
|
|
|
|
|
|
|
- <span class="btn-label"><i class="fa fa-upload"></i></span>Upload Icons
|
|
|
|
|
|
|
+ <span class="btn-label"><i class="fa fa-upload"></i></span><?php echo $language->translate("UPLOAD_ICONS");?>
|
|
|
|
|
|
|
|
</button>
|
|
</button>
|
|
|
|
|
|
|
|
<button id="iconAll" type="button" class="btn waves btn-labeled btn-success btn-sm text-uppercase waves-effect waves-float">
|
|
<button id="iconAll" type="button" class="btn waves btn-labeled btn-success btn-sm text-uppercase waves-effect waves-float">
|
|
|
|
|
|
|
|
- <span class="btn-label"><i class="fa fa-picture-o"></i></span>View Icons
|
|
|
|
|
|
|
+ <span class="btn-label"><i class="fa fa-picture-o"></i></span><?php echo $language->translate("VIEW_ICONS");?>
|
|
|
|
|
|
|
|
</button>
|
|
</button>
|
|
|
|
|
|
|
@@ -672,7 +672,7 @@ endif;
|
|
|
|
|
|
|
|
<button id="apply" class="btn waves btn-labeled btn-success btn-sm pull-right text-uppercase waves-effect waves-float" type="submit">
|
|
<button id="apply" class="btn waves btn-labeled btn-success btn-sm pull-right text-uppercase waves-effect waves-float" type="submit">
|
|
|
|
|
|
|
|
- <span class="btn-label"><i class="fa fa-check"></i></span>Apply Changes
|
|
|
|
|
|
|
+ <span class="btn-label"><i class="fa fa-check"></i></span><?php echo $language->translate("APPLY_CHANGES");?>
|
|
|
|
|
|
|
|
</button>
|
|
</button>
|
|
|
|
|
|
|
@@ -684,7 +684,7 @@ endif;
|
|
|
|
|
|
|
|
<div id="viewAllIcons" style="display: none;">
|
|
<div id="viewAllIcons" style="display: none;">
|
|
|
|
|
|
|
|
- <h4><strong>All Icons</strong> [Click icon to copy path to clipboard]</h4>
|
|
|
|
|
|
|
+ <h4><strong><?php echo $language->translate("ALL_ICONS");?></strong> [<?php echo $language->translate("CLICK_ICON");?>]</h4>
|
|
|
|
|
|
|
|
<div class="row">
|
|
<div class="row">
|
|
|
|
|
|
|
@@ -692,7 +692,7 @@ endif;
|
|
|
<?php
|
|
<?php
|
|
|
$dirname = "images/";
|
|
$dirname = "images/";
|
|
|
$images = scandir($dirname);
|
|
$images = scandir($dirname);
|
|
|
- $ignore = Array(".", "..", "favicon/", "favicon", "._.DS_Store", ".DS_Store", "sowwy.png", "sort-btns");
|
|
|
|
|
|
|
+ $ignore = Array(".", "..", "favicon/", "favicon", "._.DS_Store", ".DS_Store", "sowwy.png", "sort-btns", "loading.png");
|
|
|
foreach($images as $curimg){
|
|
foreach($images as $curimg){
|
|
|
if(!in_array($curimg, $ignore)) { ?>
|
|
if(!in_array($curimg, $ignore)) { ?>
|
|
|
|
|
|
|
@@ -724,7 +724,7 @@ endif;
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <input type="text" class="form-control name-of-todo" placeholder="Type In New Tab Name And Hit Enter" style="border-top-left-radius: 0;
|
|
|
|
|
|
|
+ <input type="text" class="form-control name-of-todo" placeholder="<?php echo $language->translate("TYPE_HIT_ENTER");?>" style="border-top-left-radius: 0;
|
|
|
border-bottom-left-radius: 0;">
|
|
border-bottom-left-radius: 0;">
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
@@ -770,13 +770,13 @@ endif;
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
- <input style="width: 100%;" type="text" class="form-control material input-sm" id="name-<?=$tabNum;?>" name="name-<?=$tabNum;?>" placeholder="New Tab Name" value="<?=$row['name'];?>">
|
|
|
|
|
|
|
+ <input style="width: 100%;" type="text" class="form-control material input-sm" id="name-<?=$tabNum;?>" name="name-<?=$tabNum;?>" placeholder="<?php echo $language->translate("NEW_TAB_NAME");?>" value="<?=$row['name'];?>">
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
- <input style="width: 100%;" type="text" class="form-control material input-sm" id="url-<?=$tabNum;?>" name="url-<?=$tabNum;?>" placeholder="Tab URL" value="<?=$row['url']?>">
|
|
|
|
|
|
|
+ <input style="width: 100%;" type="text" class="form-control material input-sm" id="url-<?=$tabNum;?>" name="url-<?=$tabNum;?>" placeholder="<?php echo $language->translate("TAB_URL");?>" value="<?=$row['url']?>">
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -787,13 +787,13 @@ endif;
|
|
|
<span class="input-group-addon"></span>
|
|
<span class="input-group-addon"></span>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- - OR -
|
|
|
|
|
|
|
+ - <?php echo $language->translate("OR");?> -
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
- <input style="width: 100%;" type="text" class="form-control material input-sm" id="iconurl-<?=$tabNum;?>" name="iconurl-<?=$tabNum;?>" placeholder="Icon URL" value="<?=$row['iconurl']?>">
|
|
|
|
|
|
|
+ <input style="width: 100%;" type="text" class="form-control material input-sm" id="iconurl-<?=$tabNum;?>" name="iconurl-<?=$tabNum;?>" placeholder="<?php echo $language->translate("ICON_URL");?>" value="<?=$row['iconurl']?>">
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -819,7 +819,7 @@ endif;
|
|
|
<label for="active[<?=$tabNum;?>]"></label>
|
|
<label for="active[<?=$tabNum;?>]"></label>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
- Active
|
|
|
|
|
|
|
+ <?php echo $language->translate("ACTIVE");?>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
@@ -831,7 +831,7 @@ endif;
|
|
|
<label for="user[<?=$tabNum;?>]"></label>
|
|
<label for="user[<?=$tabNum;?>]"></label>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
- User
|
|
|
|
|
|
|
+ <?php echo $language->translate("USER");?>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
@@ -843,7 +843,7 @@ endif;
|
|
|
<label for="guest[<?=$tabNum;?>]"></label>
|
|
<label for="guest[<?=$tabNum;?>]"></label>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
- Guest
|
|
|
|
|
|
|
+ <?php echo $language->translate("GUEST");?>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
@@ -855,7 +855,7 @@ endif;
|
|
|
<label for="window[<?=$tabNum;?>]"></label>
|
|
<label for="window[<?=$tabNum;?>]"></label>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
- No iFrame
|
|
|
|
|
|
|
+ <?php echo $language->translate("NO_IFRAME");?>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pull-right action-btns" style="padding-top: 8px;">
|
|
<div class="pull-right action-btns" style="padding-top: 8px;">
|
|
@@ -878,7 +878,7 @@ endif;
|
|
|
|
|
|
|
|
<button class="btn waves btn-labeled btn-success btn-sm pull-right text-uppercase waves-effect waves-float" type="submit">
|
|
<button class="btn waves btn-labeled btn-success btn-sm pull-right text-uppercase waves-effect waves-float" type="submit">
|
|
|
|
|
|
|
|
- <span class="btn-label"><i class="fa fa-floppy-o"></i></span>Save Tabs
|
|
|
|
|
|
|
+ <span class="btn-label"><i class="fa fa-floppy-o"></i></span><?php echo $language->translate("SAVE_TABS");?>
|
|
|
|
|
|
|
|
</button>
|
|
</button>
|
|
|
|
|
|
|
@@ -903,25 +903,25 @@ endif;
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
- <input type="text" class="form-control gray" name="username" placeholder="Username" autocorrect="off" autocapitalize="off" value="">
|
|
|
|
|
|
|
+ <input type="text" class="form-control gray" name="username" placeholder="<?php echo $language->translate("USERNAME");?>" autocorrect="off" autocapitalize="off" value="">
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
- <input type="email" class="form-control gray" name="email" placeholder="E-mail">
|
|
|
|
|
|
|
+ <input type="email" class="form-control gray" name="email" placeholder="<?php echo $language->translate("EMAIL");?>">
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
- <input type="password" class="form-control gray" name="password1" placeholder="Password">
|
|
|
|
|
|
|
+ <input type="password" class="form-control gray" name="password1" placeholder="<?php echo $language->translate("PASSWORD");?>">
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
- <input type="password" class="form-control gray" name="password2" placeholder="Retype Password">
|
|
|
|
|
|
|
+ <input type="password" class="form-control gray" name="password2" placeholder="<?php echo $language->translate("PASSWORD_AGAIN");?>">
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -955,17 +955,17 @@ endif;
|
|
|
|
|
|
|
|
<th>#</th>
|
|
<th>#</th>
|
|
|
|
|
|
|
|
- <th>Username</th>
|
|
|
|
|
|
|
+ <th><?php echo $language->translate("USERNAME");?></th>
|
|
|
|
|
|
|
|
- <th>E-Mail</th>
|
|
|
|
|
|
|
+ <th><?php echo $language->translate("EMAIL");?></th>
|
|
|
|
|
|
|
|
- <th>Login Status</th>
|
|
|
|
|
|
|
+ <th><?php echo $language->translate("LOGIN_STATUS");?></th>
|
|
|
|
|
|
|
|
- <th>Last Seen</th>
|
|
|
|
|
|
|
+ <th><?php echo $language->translate("LAST_SEEN");?></th>
|
|
|
|
|
|
|
|
- <th>User Group</th>
|
|
|
|
|
|
|
+ <th><?php echo $language->translate("USER_GROUP");?></th>
|
|
|
|
|
|
|
|
- <th>User Actions</th>
|
|
|
|
|
|
|
+ <th><?php echo $language->translate("USER_ACTIONS");?></th>
|
|
|
|
|
|
|
|
</tr>
|
|
</tr>
|
|
|
|
|
|
|
@@ -983,10 +983,10 @@ endif;
|
|
|
$disableAction = "";
|
|
$disableAction = "";
|
|
|
endif;
|
|
endif;
|
|
|
if($row['active'] == "true") :
|
|
if($row['active'] == "true") :
|
|
|
- $userActive = "Logged In";
|
|
|
|
|
|
|
+ $userActive = $language->translate("LOGGED_IN");
|
|
|
$userActiveColor = "primary";
|
|
$userActiveColor = "primary";
|
|
|
else :
|
|
else :
|
|
|
- $userActive = "Logged Out";
|
|
|
|
|
|
|
+ $userActive = $language->translate("LOGGED_OUT");
|
|
|
$userActiveColor = "danger";
|
|
$userActiveColor = "danger";
|
|
|
endif;
|
|
endif;
|
|
|
$userpic = md5( strtolower( trim( $row['email'] ) ) );
|
|
$userpic = md5( strtolower( trim( $row['email'] ) ) );
|
|
@@ -1015,7 +1015,7 @@ endif;
|
|
|
|
|
|
|
|
<button <?=$disableAction;?> class="btn waves btn-labeled btn-danger btn btn-sm text-uppercase waves-effect waves-float deleteUser">
|
|
<button <?=$disableAction;?> class="btn waves btn-labeled btn-danger btn btn-sm text-uppercase waves-effect waves-float deleteUser">
|
|
|
|
|
|
|
|
- <span class="btn-label"><i class="fa fa-user-times"></i></span>Delete
|
|
|
|
|
|
|
+ <span class="btn-label"><i class="fa fa-user-times"></i></span><?php echo $language->translate("DELETE");?>
|
|
|
|
|
|
|
|
</button>
|
|
</button>
|
|
|
|
|
|
|
@@ -1051,25 +1051,25 @@ endif;
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
- <input type="text" class="form-control gray" name="databaseLocation" placeholder="databaseLocation" autocorrect="off" autocapitalize="off" value="<?php echo DATABASE_LOCATION;?>">
|
|
|
|
|
|
|
+ <input type="text" class="form-control gray" name="databaseLocation" placeholder="<?php echo $language->translate("DATABASE_PATH");?>" autocorrect="off" autocapitalize="off" value="<?php echo DATABASE_LOCATION;?>">
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
- <input type="text" class="form-control gray" name="timezone" placeholder="timezone" value="<?php echo TIMEZONE;?>">
|
|
|
|
|
|
|
+ <input type="text" class="form-control gray" name="timezone" placeholder="<?php echo $language->translate("SET_TIMEZONE");?>" value="<?php echo TIMEZONE;?>">
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
- <input type="text" class="form-control gray" name="titleLogo" placeholder="Logo URL for title" value="<?php echo TITLELOGO;?>">
|
|
|
|
|
|
|
+ <input type="text" class="form-control gray" name="titleLogo" placeholder="<?php echo $language->translate("LOGO_URL_TITLE");?>" value="<?php echo TITLELOGO;?>">
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
- <input type="text" class="form-control gray" name="loadingIcon" placeholder="Loading Icon URL" value="<?php echo LOADINGICON;?>">
|
|
|
|
|
|
|
+ <input type="text" class="form-control gray" name="loadingIcon" placeholder="<?php echo $language->translate("LOADING_ICON_URL");?>" value="<?php echo LOADINGICON;?>">
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -1104,8 +1104,8 @@ endif;
|
|
|
|
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
|
|
- <span class="text-uppercase w-name">Good Logins</span>
|
|
|
|
|
- <span class="text-uppercase w-name pull-right">Bad Logins</span>
|
|
|
|
|
|
|
+ <span class="text-uppercase w-name"><?php echo $language->translate("GOOD_LOGINS");?></span>
|
|
|
|
|
+ <span class="text-uppercase w-name pull-right"><?php echo $language->translate("BAD_LOGINS");?></span>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -1134,7 +1134,7 @@ endif;
|
|
|
<input type="hidden" name="action" value="deleteLog" />
|
|
<input type="hidden" name="action" value="deleteLog" />
|
|
|
<button class="btn waves btn-labeled btn-danger btn-sm pull-right text-uppercase waves-effect waves-float" type="submit">
|
|
<button class="btn waves btn-labeled btn-danger btn-sm pull-right text-uppercase waves-effect waves-float" type="submit">
|
|
|
|
|
|
|
|
- <span class="btn-label"><i class="fa fa-trash"></i></span>Purge Log
|
|
|
|
|
|
|
+ <span class="btn-label"><i class="fa fa-trash"></i></span><?php echo $language->translate("PURGE_LOG");?>
|
|
|
|
|
|
|
|
</button>
|
|
</button>
|
|
|
|
|
|
|
@@ -1146,13 +1146,13 @@ endif;
|
|
|
|
|
|
|
|
<tr>
|
|
<tr>
|
|
|
|
|
|
|
|
- <th>Date</th>
|
|
|
|
|
|
|
+ <th><?php echo $language->translate("DATE");?></th>
|
|
|
|
|
|
|
|
- <th>Username</th>
|
|
|
|
|
|
|
+ <th><?php echo $language->translate("USERNAME");?></th>
|
|
|
|
|
|
|
|
- <th>IP Address</th>
|
|
|
|
|
|
|
+ <th><?php echo $language->translate("IP_ADDRESS");?></th>
|
|
|
|
|
|
|
|
- <th>Type</th>
|
|
|
|
|
|
|
+ <th><?php echo $language->translate("TYPE");?></th>
|
|
|
|
|
|
|
|
</tr>
|
|
</tr>
|
|
|
|
|
|
|
@@ -1215,7 +1215,7 @@ endif;
|
|
|
|
|
|
|
|
if(!file_exists(FAIL_LOG)) :
|
|
if(!file_exists(FAIL_LOG)) :
|
|
|
|
|
|
|
|
- echo "Nothing in log..................";
|
|
|
|
|
|
|
+ echo $language->translate("NOTHING_LOG");
|
|
|
|
|
|
|
|
endif;
|
|
endif;
|
|
|
|
|
|
|
@@ -1227,15 +1227,15 @@ endif;
|
|
|
|
|
|
|
|
<div class="tab-pane big-box fade in" id="about">
|
|
<div class="tab-pane big-box fade in" id="about">
|
|
|
|
|
|
|
|
- <h4><strong>About Organizr</strong></h4>
|
|
|
|
|
|
|
+ <h4><strong><?php echo $language->translate("ABOUT");?> Organizr</strong></h4>
|
|
|
|
|
|
|
|
<p id="version"></p>
|
|
<p id="version"></p>
|
|
|
|
|
|
|
|
<p id="submitFeedback">
|
|
<p id="submitFeedback">
|
|
|
|
|
|
|
|
- <a href='https://github.com/causefx/Organizr/issues/new' target='_blank' type='button' class='btn waves btn-labeled btn-success btn text-uppercase waves-effect waves-float'><span class='btn-label'><i class='fa fa-github-alt'></i></span>Submit Issue or Request</a>
|
|
|
|
|
- <a href='https://github.com/causefx/Organizr' target='_blank' type='button' class='btn waves btn-labeled btn-primary btn text-uppercase waves-effect waves-float'><span class='btn-label'><i class='fa fa-github'></i></span>View On Github</a>
|
|
|
|
|
- <a href='https://riot.im/app/#/room/#iCauseFX:matrix.org' target='_blank' type='button' class='btn waves btn-labeled btn-dark btn text-uppercase waves-effect waves-float'><span class='btn-label'><i class='fa fa-comments-o'></i></span>Chat With Us</a>
|
|
|
|
|
|
|
+ <a href='https://github.com/causefx/Organizr/issues/new' target='_blank' type='button' class='btn waves btn-labeled btn-success btn text-uppercase waves-effect waves-float'><span class='btn-label'><i class='fa fa-github-alt'></i></span><?php echo $language->translate("SUBMIT_ISSUE");?></a>
|
|
|
|
|
+ <a href='https://github.com/causefx/Organizr' target='_blank' type='button' class='btn waves btn-labeled btn-primary btn text-uppercase waves-effect waves-float'><span class='btn-label'><i class='fa fa-github'></i></span><?php echo $language->translate("VIEW_ON_GITHUB");?></a>
|
|
|
|
|
+ <a href='https://riot.im/app/#/room/#iCauseFX:matrix.org' target='_blank' type='button' class='btn waves btn-labeled btn-dark btn text-uppercase waves-effect waves-float'><span class='btn-label'><i class='fa fa-comments-o'></i></span><?php echo $language->translate("CHAT_WITH_US");?></a>
|
|
|
|
|
|
|
|
</p>
|
|
</p>
|
|
|
|
|
|
|
@@ -1247,7 +1247,7 @@ endif;
|
|
|
|
|
|
|
|
<div class="panel-heading">
|
|
<div class="panel-heading">
|
|
|
|
|
|
|
|
- <h3 class="panel-title">Delete Database</h3>
|
|
|
|
|
|
|
+ <h3 class="panel-title"><?php echo $language->translate("DELETE_DATABASE");?></h3>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -1255,13 +1255,13 @@ endif;
|
|
|
|
|
|
|
|
<div class="">
|
|
<div class="">
|
|
|
|
|
|
|
|
- <p>Only do this if an upgrade requires it. This will delete your database so there is no going back and you will need to set everything back up, including user accouts.</p>
|
|
|
|
|
|
|
+ <p><?php echo $language->translate("DELETE_WARNING");?></p>
|
|
|
<form id="deletedb" method="post">
|
|
<form id="deletedb" method="post">
|
|
|
|
|
|
|
|
<input type="hidden" name="action" value="deleteDB" />
|
|
<input type="hidden" name="action" value="deleteDB" />
|
|
|
<button class="btn waves btn-labeled btn-danger pull-right text-uppercase waves-effect waves-float" type="submit">
|
|
<button class="btn waves btn-labeled btn-danger pull-right text-uppercase waves-effect waves-float" type="submit">
|
|
|
|
|
|
|
|
- <span class="btn-label"><i class="fa fa-trash"></i></span>Delete Databse
|
|
|
|
|
|
|
+ <span class="btn-label"><i class="fa fa-trash"></i></span><?php echo $language->translate("DELETE_DATABASE");?>
|
|
|
|
|
|
|
|
</button>
|
|
</button>
|
|
|
|
|
|
|
@@ -1284,7 +1284,7 @@ endif;
|
|
|
<div class="btn-group">
|
|
<div class="btn-group">
|
|
|
|
|
|
|
|
<button type="button" class="btn btn-dark dropdown-toggle btn-sm" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
<button type="button" class="btn btn-dark dropdown-toggle btn-sm" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
- Choose Theme <span class="caret"></span>
|
|
|
|
|
|
|
+ <?php echo $language->translate("CHOOSE_THEME");?> <span class="caret"></span>
|
|
|
</button>
|
|
</button>
|
|
|
|
|
|
|
|
<ul class="dropdown-menu gray-bg">
|
|
<ul class="dropdown-menu gray-bg">
|
|
@@ -1303,7 +1303,7 @@ endif;
|
|
|
|
|
|
|
|
<li role="separator" class="divider"></li>
|
|
<li role="separator" class="divider"></li>
|
|
|
|
|
|
|
|
- <li id="defaultTheme" style="background: #eb6363; border-radius: 5px; margin: 5px;"><a style="color: #FFFFFF !important;" href="#">Default</a></li>
|
|
|
|
|
|
|
+ <li id="defaultTheme" style="background: #eb6363; border-radius: 5px; margin: 5px;"><a style="color: #FFFFFF !important;" href="#"><?php echo $language->translate("DEFAULT");?></a></li>
|
|
|
|
|
|
|
|
</ul>
|
|
</ul>
|
|
|
|
|
|
|
@@ -1311,7 +1311,7 @@ endif;
|
|
|
|
|
|
|
|
<button class="btn waves btn-labeled btn-success btn-sm pull-right text-uppercase waves-effect waves-float" type="submit">
|
|
<button class="btn waves btn-labeled btn-success btn-sm pull-right text-uppercase waves-effect waves-float" type="submit">
|
|
|
|
|
|
|
|
- <span class="btn-label"><i class="fa fa-floppy-o"></i></span>Save Options
|
|
|
|
|
|
|
+ <span class="btn-label"><i class="fa fa-floppy-o"></i></span><?php echo $language->translate("SAVE_OPTIONS");?>
|
|
|
|
|
|
|
|
</button>
|
|
</button>
|
|
|
|
|
|
|
@@ -1319,11 +1319,11 @@ endif;
|
|
|
|
|
|
|
|
<div class="row show-grids">
|
|
<div class="row show-grids">
|
|
|
|
|
|
|
|
- <h4><strong>Title</strong></h4>
|
|
|
|
|
|
|
+ <h4><strong><?php echo $language->translate("TITLE");?></strong></h4>
|
|
|
|
|
|
|
|
<div class="col-md-2 gray-bg">
|
|
<div class="col-md-2 gray-bg">
|
|
|
|
|
|
|
|
- <center>Title</center>
|
|
|
|
|
|
|
+ <center><?php echo $language->translate("TITLE");?></center>
|
|
|
|
|
|
|
|
<input name="title" class="form-control gray" value="<?=$title;?>" placeholder="Organizr">
|
|
<input name="title" class="form-control gray" value="<?=$title;?>" placeholder="Organizr">
|
|
|
|
|
|
|
@@ -1331,7 +1331,7 @@ endif;
|
|
|
|
|
|
|
|
<div class="col-md-2 gray-bg">
|
|
<div class="col-md-2 gray-bg">
|
|
|
|
|
|
|
|
- <center>Title Text</center>
|
|
|
|
|
|
|
+ <center><?php echo $language->translate("TITLE_TEXT");?></center>
|
|
|
|
|
|
|
|
<input name="topbartext" id="topbartext" class="form-control jscolor {hash:true}" value="<?=$topbartext;?>">
|
|
<input name="topbartext" id="topbartext" class="form-control jscolor {hash:true}" value="<?=$topbartext;?>">
|
|
|
|
|
|
|
@@ -1341,11 +1341,11 @@ endif;
|
|
|
|
|
|
|
|
<div class="row show-grids">
|
|
<div class="row show-grids">
|
|
|
|
|
|
|
|
- <h4><strong>Navigation Bars</strong></h4>
|
|
|
|
|
|
|
+ <h4><strong><?php echo $language->translate("NAVIGATION_BARS");?></strong></h4>
|
|
|
|
|
|
|
|
<div class="col-md-2 gray-bg">
|
|
<div class="col-md-2 gray-bg">
|
|
|
|
|
|
|
|
- <center>Top Bar</center>
|
|
|
|
|
|
|
+ <center><?php echo $language->translate("TOP_BAR");?></center>
|
|
|
|
|
|
|
|
<input name="topbar" id="topbar" class="form-control jscolor {hash:true}" value="<?=$topbar;?>">
|
|
<input name="topbar" id="topbar" class="form-control jscolor {hash:true}" value="<?=$topbar;?>">
|
|
|
|
|
|
|
@@ -1353,7 +1353,7 @@ endif;
|
|
|
|
|
|
|
|
<div class="col-md-2 gray-bg">
|
|
<div class="col-md-2 gray-bg">
|
|
|
|
|
|
|
|
- <center>Bottom Bar</center>
|
|
|
|
|
|
|
+ <center><?php echo $language->translate("BOTTOM_BAR");?></center>
|
|
|
|
|
|
|
|
<input name="bottombar" id="bottombar" class="form-control jscolor {hash:true}" value="<?=$bottombar;?>">
|
|
<input name="bottombar" id="bottombar" class="form-control jscolor {hash:true}" value="<?=$bottombar;?>">
|
|
|
|
|
|
|
@@ -1363,7 +1363,7 @@ endif;
|
|
|
|
|
|
|
|
<div class="col-md-2 gray-bg">
|
|
<div class="col-md-2 gray-bg">
|
|
|
|
|
|
|
|
- <center>Side Bar</center>
|
|
|
|
|
|
|
+ <center><?php echo $language->translate("SIDE_BAR");?></center>
|
|
|
|
|
|
|
|
<input name="sidebar" id="sidebar" class="form-control jscolor {hash:true}" value="<?=$sidebar;?>">
|
|
<input name="sidebar" id="sidebar" class="form-control jscolor {hash:true}" value="<?=$sidebar;?>">
|
|
|
|
|
|
|
@@ -1371,7 +1371,7 @@ endif;
|
|
|
|
|
|
|
|
<div class="col-md-2 gray-bg">
|
|
<div class="col-md-2 gray-bg">
|
|
|
|
|
|
|
|
- <center>Hover BG</center>
|
|
|
|
|
|
|
+ <center><?php echo $language->translate("HOVER_BG");?></center>
|
|
|
|
|
|
|
|
<input name="hoverbg" id="hoverbg" class="form-control jscolor {hash:true}" value="<?=$hoverbg;?>">
|
|
<input name="hoverbg" id="hoverbg" class="form-control jscolor {hash:true}" value="<?=$hoverbg;?>">
|
|
|
|
|
|
|
@@ -1381,11 +1381,11 @@ endif;
|
|
|
|
|
|
|
|
<div class="row show-grids">
|
|
<div class="row show-grids">
|
|
|
|
|
|
|
|
- <h4><strong>Active Tab</strong></h4>
|
|
|
|
|
|
|
+ <h4><strong><?php echo $language->translate("ACTIVE_TAB");?></strong></h4>
|
|
|
|
|
|
|
|
<div class="col-md-2 gray-bg">
|
|
<div class="col-md-2 gray-bg">
|
|
|
|
|
|
|
|
- <center>Active Tab BG</center>
|
|
|
|
|
|
|
+ <center><?php echo $language->translate("ACTIVE_TAB_BG");?></center>
|
|
|
|
|
|
|
|
<input name="activetabBG" id="activetabBG" class="form-control jscolor {hash:true}" value=<?=$activetabBG;?>"">
|
|
<input name="activetabBG" id="activetabBG" class="form-control jscolor {hash:true}" value=<?=$activetabBG;?>"">
|
|
|
|
|
|
|
@@ -1393,7 +1393,7 @@ endif;
|
|
|
|
|
|
|
|
<div class="col-md-2 gray-bg">
|
|
<div class="col-md-2 gray-bg">
|
|
|
|
|
|
|
|
- <center>Active Tab Icon</center>
|
|
|
|
|
|
|
+ <center><?php echo $language->translate("ACTIVE_TAB_ICON");?></center>
|
|
|
|
|
|
|
|
<input name="activetabicon" id="activetabicon" class="form-control jscolor {hash:true}" value="<?=$activetabicon;?>">
|
|
<input name="activetabicon" id="activetabicon" class="form-control jscolor {hash:true}" value="<?=$activetabicon;?>">
|
|
|
|
|
|
|
@@ -1401,7 +1401,7 @@ endif;
|
|
|
|
|
|
|
|
<div class="col-md-2 gray-bg">
|
|
<div class="col-md-2 gray-bg">
|
|
|
|
|
|
|
|
- <center>Active Tab Text</center>
|
|
|
|
|
|
|
+ <center><?php echo $language->translate("ACTIVE_TAB_TEXT");?></center>
|
|
|
|
|
|
|
|
<input name="activetabtext" id="activetabtext" class="form-control jscolor {hash:true}" value="<?=$activetabtext;?>">
|
|
<input name="activetabtext" id="activetabtext" class="form-control jscolor {hash:true}" value="<?=$activetabtext;?>">
|
|
|
|
|
|
|
@@ -1411,11 +1411,11 @@ endif;
|
|
|
|
|
|
|
|
<div class="row show-grids">
|
|
<div class="row show-grids">
|
|
|
|
|
|
|
|
- <h4><strong>Inactive Tab</strong></h4>
|
|
|
|
|
|
|
+ <h4><strong><?php echo $language->translate("INACTIVE_TAB");?></strong></h4>
|
|
|
|
|
|
|
|
<div class="col-md-2 gray-bg">
|
|
<div class="col-md-2 gray-bg">
|
|
|
|
|
|
|
|
- <center>Inactive Icon</center>
|
|
|
|
|
|
|
+ <center><?php echo $language->translate("INACTIVE_ICON");?></center>
|
|
|
|
|
|
|
|
<input name="inactiveicon" id="inactiveicon" class="form-control jscolor {hash:true}" value="<?=$inactiveicon;?>">
|
|
<input name="inactiveicon" id="inactiveicon" class="form-control jscolor {hash:true}" value="<?=$inactiveicon;?>">
|
|
|
|
|
|
|
@@ -1423,7 +1423,7 @@ endif;
|
|
|
|
|
|
|
|
<div class="col-md-2 gray-bg">
|
|
<div class="col-md-2 gray-bg">
|
|
|
|
|
|
|
|
- <center>Inactive Text</center>
|
|
|
|
|
|
|
+ <center><?php echo $language->translate("INACTIVE_TEXT");?></center>
|
|
|
|
|
|
|
|
<input name="inactivetext" id="inactivetext" class="form-control jscolor {hash:true}" value="<?=$inactivetext;?>">
|
|
<input name="inactivetext" id="inactivetext" class="form-control jscolor {hash:true}" value="<?=$inactivetext;?>">
|
|
|
|
|
|
|
@@ -1946,7 +1946,7 @@ endif;
|
|
|
dataType: "json",
|
|
dataType: "json",
|
|
|
success: function(github) {
|
|
success: function(github) {
|
|
|
|
|
|
|
|
- var currentVersion = "0.997";
|
|
|
|
|
|
|
+ var currentVersion = "0.996";
|
|
|
var githubVersion = github.tag_name;
|
|
var githubVersion = github.tag_name;
|
|
|
var githubDescription = github.body;
|
|
var githubDescription = github.body;
|
|
|
var githubName = github.name;
|
|
var githubName = github.name;
|
|
@@ -1959,14 +1959,14 @@ endif;
|
|
|
console.log("You Need To Upgrade");
|
|
console.log("You Need To Upgrade");
|
|
|
|
|
|
|
|
$.smkAlert({
|
|
$.smkAlert({
|
|
|
- text: '<strong>New Version Available</strong> Click Info Tab',
|
|
|
|
|
|
|
+ text: '<strong><?php echo $language->translate("NEW_VERSION");?></strong> <?php echo $language->translate("CLICK_INFO");?>',
|
|
|
type: 'warning',
|
|
type: 'warning',
|
|
|
permanent: true
|
|
permanent: true
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- $(infoTabNew).html("<br/><h4><strong>What's New in " + githubVersion + "</strong></h4><strong>Title: </strong>" + githubName + " <br/><strong>Changes: </strong>" + githubDescription);
|
|
|
|
|
|
|
+ $(infoTabNew).html("<br/><h4><strong><?php echo $language->translate("WHATS_NEW");?> " + githubVersion + "</strong></h4><strong><?php echo $language->translate("TITLE");?>: </strong>" + githubName + " <br/><strong><?php echo $language->translate("CHANGES");?>: </strong>" + githubDescription);
|
|
|
|
|
|
|
|
- $(infoTabDownload).html("<br/><form style=\"display:initial;\" id=\"deletedb\" method=\"post\"><input type=\"hidden\" name=\"action\" value=\"upgrade\" /><button class=\"btn waves btn-labeled btn-success text-uppercase waves-effect waves-float\" type=\"submit\"><span class=\"btn-label\"><i class=\"fa fa-refresh\"></i></span>Auto Upgrade</button></form> <a href='https://github.com/causefx/Organizr/archive/master.zip' target='_blank' type='button' class='btn waves btn-labeled btn-success text-uppercase waves-effect waves-float'><span class='btn-label'><i class='fa fa-download'></i></span>Organizr v." + githubVersion + "</a>");
|
|
|
|
|
|
|
+ $(infoTabDownload).html("<br/><form style=\"display:initial;\" id=\"deletedb\" method=\"post\"><input type=\"hidden\" name=\"action\" value=\"upgrade\" /><button class=\"btn waves btn-labeled btn-success text-uppercase waves-effect waves-float\" type=\"submit\"><span class=\"btn-label\"><i class=\"fa fa-refresh\"></i></span><?php echo $language->translate("AUTO_UPGRADE");?></button></form> <a href='https://github.com/causefx/Organizr/archive/master.zip' target='_blank' type='button' class='btn waves btn-labeled btn-success text-uppercase waves-effect waves-float'><span class='btn-label'><i class='fa fa-download'></i></span>Organizr v." + githubVersion + "</a>");
|
|
|
|
|
|
|
|
$( "p[id^='upgrade']" ).toggle();
|
|
$( "p[id^='upgrade']" ).toggle();
|
|
|
|
|
|
|
@@ -1975,7 +1975,7 @@ endif;
|
|
|
console.log("You Are on Current Version");
|
|
console.log("You Are on Current Version");
|
|
|
|
|
|
|
|
$.smkAlert({
|
|
$.smkAlert({
|
|
|
- text: 'Software is <strong>Up-To-Date!</strong>',
|
|
|
|
|
|
|
+ text: '<?php echo $language->translate("SOFTWARE_IS");?> <strong><?php echo $language->translate("UP_TO_DATE");?></strong>',
|
|
|
type: 'success'
|
|
type: 'success'
|
|
|
});
|
|
});
|
|
|
|
|
|
|
@@ -1991,7 +1991,7 @@ endif;
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- $(infoTabVersion).html("<strong>Installed Version: </strong>" + currentVersion + " <strong>Current Version: </strong>" + githubVersion + " <strong>Database Location: </strong> <?php echo DATABASE_LOCATION;?>");
|
|
|
|
|
|
|
+ $(infoTabVersion).html("<strong><?php echo $language->translate("INSTALLED_VERSION");?>: </strong>" + currentVersion + " <strong><?php echo $language->translate("CURRENT_VERSION");?>: </strong>" + githubVersion + " <strong><?php echo $language->translate("DATABASE_PATH");?>: </strong> <?php echo DATABASE_LOCATION;?>");
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|