Skip to content

Commit

Permalink
Slightly modified user activity layout to avoid confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
Hal9000 committed Jan 22, 2014
1 parent 4022fa0 commit 7cf3c67
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 15 deletions.
2 changes: 0 additions & 2 deletions lib/magirc/Config.class.php
Expand Up @@ -43,5 +43,3 @@ public function __set($var, $val) {
}

}

?>
2 changes: 0 additions & 2 deletions lib/magirc/DB.class.php
Expand Up @@ -397,5 +397,3 @@ function datatablesOutput($iTotal, $iFilteredTotal, $aaData) {
}

}

?>
2 changes: 0 additions & 2 deletions lib/magirc/version.inc.php
Expand Up @@ -8,5 +8,3 @@
define('VERSION_FULL', sprintf('%s.%s.%s%s', VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_EXTRA));

define('DB_VERSION', 15);

?>
20 changes: 11 additions & 9 deletions theme/default/tpl/user_activity.tpl
@@ -1,22 +1,24 @@
<h1>{t 1=$target}User activity for %1{/t}</h1>

<form>
<div id="radio" class="choser">
<input type="radio" id="radio0" name="radio" checked="checked" value="" /><label for="radio0">{t}Global{/t}</label>
</div>
<div id="type" class="choser">
<input type="radio" id="type0" name="type" value="total" /><label for="type0">{t}Total{/t}</label>
<input type="radio" id="type1" name="type" value="daily" /><label for="type1">{t}Today{/t}</label>
<input type="radio" id="type2" name="type" value="weekly" /><label for="type2">{t}This Week{/t}</label>
<input type="radio" id="type3" name="type" value="monthly" checked="checked" /><label for="type3">{t}This Month{/t}</label>
</div>
</form>

<div id="chart_activity" style="height: 225px;"></div>

<form>
<div id="type" class="choser">
<input type="radio" id="type0" name="type" value="total" /><label for="type0">{t}Total{/t}</label>
<input type="radio" id="type1" name="type" value="daily" /><label for="type1">{t}Today{/t}</label>
<input type="radio" id="type2" name="type" value="weekly" /><label for="type2">{t}This Week{/t}</label>
<input type="radio" id="type3" name="type" value="monthly" checked="checked" /><label for="type3">{t}This Month{/t}</label>
</div>
<div id="radio" class="choser">
<input type="radio" id="radio0" name="radio" checked="checked" value="" /><label for="radio0">{t}Global{/t}</label>
</div>
</form>

<h2>{t}Overview{/t}</h2>

<table id="tbl_activity" class="display">
<thead>
<tr>
Expand Down

0 comments on commit 7cf3c67

Please sign in to comment.