forked from Cavemanon/cavepaintings
tags(image_id,tag) split into image_tags(image_id,tag_id) and tags(id,tag,count)
git-svn-id: file:///home/shish/svn/shimmie2/trunk@227 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@ -1,11 +1,15 @@
|
||||
<?php
|
||||
|
||||
class AdminUtilsTheme extends Themelet {
|
||||
public function display_form() {
|
||||
public function display_form($page) {
|
||||
$html = "
|
||||
<p><form action='".make_link("admin_utils")."' method='POST'>
|
||||
<input type='hidden' name='action' value='lowercase all tags'>
|
||||
<input type='submit' value='Lowercase All Tags'>
|
||||
<select name='action'>
|
||||
<option value='lowercase all tags'>All tags to lowercase</option>
|
||||
<option value='recount tag use'>Recount tag use</option>
|
||||
<option value='purge unused tags'>Purge unused tags</option>
|
||||
</select>
|
||||
<input type='submit' value='Go'>
|
||||
</form>
|
||||
";
|
||||
$page->add_block(new Block("Misc Admin Tools", $html));
|
||||
|
Reference in New Issue
Block a user