commit
d36338d4c4
@ -6,6 +6,7 @@ class HomeTheme extends Themelet {
|
||||
$page->add_auto_html_headers();
|
||||
$hh = $page->get_all_html_headers();
|
||||
$page->set_data(<<<EOD
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>$sitename</title>
|
||||
|
@ -37,7 +37,7 @@ class ImageViewCounter extends Extension {
|
||||
$event->add_part(
|
||||
"<tr><th>Views:</th><td>".
|
||||
$this->get_view_count($event->image->id) .
|
||||
"</th></tr>", 38);
|
||||
"</tr>", 38);
|
||||
}
|
||||
|
||||
# Installs DB table
|
||||
|
@ -214,7 +214,7 @@ class PoolsTheme extends Themelet {
|
||||
|
||||
if($user->id == $pool['user_id'] || $user->is_admin()){
|
||||
$editor .= "
|
||||
<script language='javascript' type='text/javascript'>
|
||||
<script type='text/javascript'>
|
||||
<!--
|
||||
function confirm_action() {
|
||||
return confirm('Are you sure that you want to delete this pool?');
|
||||
@ -231,7 +231,7 @@ class PoolsTheme extends Themelet {
|
||||
|
||||
if($check_all) {
|
||||
$editor .= "
|
||||
<script language='javascript' type='text/javascript'>
|
||||
<script type='text/javascript'>
|
||||
<!--
|
||||
function setAll(value) {
|
||||
$('[name=\"check[]\"]').attr('checked', value);
|
||||
@ -257,7 +257,7 @@ class PoolsTheme extends Themelet {
|
||||
|
||||
$this->display_top($pool, "Importing Posts", true);
|
||||
$pool_images = "
|
||||
<script language='javascript' type='text/javascript'>
|
||||
<script type='text/javascript'>
|
||||
<!--
|
||||
function confirm_action() {
|
||||
return confirm('Are you sure you want to add selected posts to this pool?');
|
||||
|
@ -262,7 +262,7 @@ class Setup extends Extension {
|
||||
$full = (@$_SERVER["HTTPS"] ? "https://" : "http://") . $host . $_SERVER["PHP_SELF"];
|
||||
$test_url = str_replace("/index.php", "/nicetest", $full);
|
||||
|
||||
$nicescript = "<script language='javascript'>
|
||||
$nicescript = "<script type='text/javascript'>
|
||||
function getHTTPObject() {
|
||||
if (window.XMLHttpRequest){
|
||||
return new XMLHttpRequest();
|
||||
|
@ -24,7 +24,7 @@ class TagEditTheme extends Themelet {
|
||||
$html = make_form(make_link("tag_edit/mass_source_set"), "POST") . "
|
||||
<input type='hidden' name='tags' value='$h_terms'>
|
||||
<input type='text' name='source' value=''>
|
||||
<input type='submit' value='Set Source For All' onclick='return confirm(\"This will mass-edit all sources on the page.\nAre you sure you want to do this?\")'>
|
||||
<input type='submit' value='Set Source For All' onclick='return confirm(\"This will mass-edit all sources on the page.\\nAre you sure you want to do this?\")'>
|
||||
</form>
|
||||
";
|
||||
return $html;
|
||||
|
@ -59,7 +59,7 @@ class UploadTheme extends Themelet {
|
||||
$upload_list .= "
|
||||
<tr>
|
||||
<td colspan='2'><input type='file' name='data$i'></td>
|
||||
<td colspan='2'><input type='text' name='url$i'</td>
|
||||
<td colspan='2'><input type='text' name='url$i'></td>
|
||||
<td colspan='2'><input type='text' name='tags$i' class='autocomplete_tags' autocomplete='off'></td>
|
||||
</tr>
|
||||
";
|
||||
|
Loading…
x
Reference in New Issue
Block a user