From: idfx Date: Sat, 6 Nov 2004 18:46:24 +0000 (+0000) Subject: rebuilding head X-Git-Tag: BEFORE_MERGE_1_1~25 X-Git-Url: http://erislabs.net/gitweb/?p=mir.git;a=commitdiff_plain;h=44425d18d2bb421e09e4add11c20f2c8d2129d26 rebuilding head --- diff --git a/source/tool/BundleTool.java b/source/tool/BundleTool.java index e44345b0..0b007d4f 100755 --- a/source/tool/BundleTool.java +++ b/source/tool/BundleTool.java @@ -18,23 +18,27 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * In addition, as a special exception, The Mir-coders gives permission to link - * the code of this program with any library licensed under the Apache Software License, - * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library - * (or with modified versions of the above that use the same license as the above), - * and distribute linked combinations including the two. You must obey the - * GNU General Public License in all respects for all of the code used other than - * the above mentioned libraries. If you modify this file, you may extend this - * exception to your version of the file, but you are not obligated to do so. + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. * If you do not wish to do so, delete this exception statement from your version. */ package tool; +import java.io.BufferedInputStream; +import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; +import java.util.Arrays; import java.util.Iterator; +import java.util.List; import mir.util.ExceptionFunctions; import mir.util.PropertiesManipulator; @@ -47,7 +51,9 @@ public class BundleTool { PropertiesManipulator result; try { - master = PropertiesManipulator.readProperties(new FileInputStream(new File(aMaster))); + master = PropertiesManipulator.readProperties( + new BufferedInputStream( + new FileInputStream(new File(aMaster)),8192)); } catch (Throwable t) { System.out.println("Unable to read master properties: " + t.getMessage()); @@ -55,7 +61,9 @@ public class BundleTool { } try { - slave = PropertiesManipulator.readProperties(new FileInputStream(new File(aSlave))); + slave = PropertiesManipulator.readProperties( + new BufferedInputStream( + new FileInputStream(new File(aSlave)),8192)); } catch (FileNotFoundException t) { slave = new PropertiesManipulator(); @@ -114,7 +122,9 @@ public class BundleTool { PropertiesManipulator result; try { - master = PropertiesManipulator.readProperties(new FileInputStream(new File(aMaster))); + master = PropertiesManipulator.readProperties( + new BufferedInputStream( + new FileInputStream(new File(aMaster)),8192)); } catch (Throwable t) { System.out.println("Unable to read master properties: " + t.getMessage()); @@ -122,7 +132,9 @@ public class BundleTool { } try { - slave = PropertiesManipulator.readProperties(new FileInputStream(new File(aSlave))); + slave = PropertiesManipulator.readProperties( + new BufferedInputStream( + new FileInputStream(new File(aSlave)),8192)); } catch (FileNotFoundException t) { slave = new PropertiesManipulator(); @@ -176,7 +188,8 @@ public class BundleTool { } try { - PropertiesManipulator.writeProperties(result, new FileOutputStream(new File(aSlave))); + PropertiesManipulator.writeProperties(result, + new BufferedOutputStream(new FileOutputStream(new File(aSlave)),8192)); } catch (Throwable t) { System.out.println("Unable to write slave properties: " + t.getMessage()); @@ -188,9 +201,12 @@ public class BundleTool { PropertiesManipulator bundle; try { - bundle = PropertiesManipulator.readProperties(new FileInputStream(new File(aBundle))); + bundle = PropertiesManipulator.readProperties( + new BufferedInputStream( + new FileInputStream(new File(aBundle)),8192)); - PropertiesManipulator.writeProperties(bundle, new FileOutputStream(anOutputFile), anEncoding, false); + PropertiesManipulator.writeProperties(bundle, + new BufferedOutputStream(new FileOutputStream(anOutputFile),8192), anEncoding, false); } catch (Throwable t) { System.out.println("Unable to read master properties: " + t.getMessage()); @@ -202,7 +218,9 @@ public class BundleTool { PropertiesManipulator bundle; try { - bundle = PropertiesManipulator.readProperties(new FileInputStream(new File(aSourceFile)), anEncoding); + bundle = PropertiesManipulator.readProperties( + new BufferedInputStream( + new FileInputStream(new File(aSourceFile)),8192), anEncoding); } catch (Throwable t) { Throwable s = ExceptionFunctions.traceCauseException(t); @@ -211,7 +229,8 @@ public class BundleTool { return; } try { - PropertiesManipulator.writeProperties(bundle, new FileOutputStream(aBundle)); + PropertiesManipulator.writeProperties(bundle, + new BufferedOutputStream(new FileOutputStream(aBundle),8192)); } catch (Throwable t) { System.out.println("Unable to write bundle: " + t.toString()); @@ -219,6 +238,23 @@ public class BundleTool { } } + public static void rename(String anOldKeyName, String aNewKeyName, List aBundles) { + /* + PropertiesManipulator bundle; + + try { + bundle = PropertiesManipulator.readProperties(new FileInputStream(new File(aBundle))); + + PropertiesManipulator.writeProperties(bundle, new FileOutputStream(anOutputFile), anEncoding, false); + } + catch (Throwable t) { + System.out.println("Unable to read master properties: " + t.getMessage()); + return; + } +*/ + } + + public static void main(String[] anArguments) { String command = "help"; @@ -253,9 +289,19 @@ public class BundleTool { return; } } - } + else if (command.equals("rename")) { + if (anArguments.length>=3) { + List arguments = Arrays.asList(anArguments); + rename(anArguments[0], anArguments[1], arguments.subList(2, arguments.size())); +/* + decode(anArguments[1], anArguments[2], anArguments[3]); +*/ + return; + } + } + } System.out.println("Usage:"); @@ -274,6 +320,9 @@ public class BundleTool { System.out.println(" BundleTool decode "); System.out.println(""); System.out.println(" Decodes the keys/values with a custom encoding."); + System.out.println(" BundleTool rename [ [ ... ]]"); + System.out.println(""); + System.out.println(" Decodes the keys/values with a custom encoding."); } } \ No newline at end of file diff --git a/source/tool/ConfigTool.java b/source/tool/ConfigTool.java index c6e16196..d7e89932 100755 --- a/source/tool/ConfigTool.java +++ b/source/tool/ConfigTool.java @@ -1,96 +1,126 @@ -package tool; - -import java.security.MessageDigest; -import java.util.TimeZone; - -import gnu.regexp.RE; -import mir.util.StringRoutines; - -/** - *

Title:

- *

Description:

- *

Copyright: Copyright (c) 2003

- *

Company:

- * @author not attributable - * @version 1.0 - */ - -public class ConfigTool { - public ConfigTool() { - } - - public static void timezone(String aSpecification) { - try { - RE specification = new RE(aSpecification); - String[] timeZoneIds = TimeZone.getAvailableIDs(); - - System.out.println("ID\tOffset\tDST?\tName"); - for (int i=0; i= 1) { - command = anArguments[0]; - - if (command.equals("timezone")) { - if (anArguments.length<=2) { - if (anArguments.length==2) - timezone(anArguments[1]); - else - timezone(".*"); - } - - return; - } - else if (command.equals("digest")) { - if (anArguments.length == 3) { - digest(anArguments[1], anArguments[2]); - - return; - } - } - } - - - - System.out.println("Usage:"); - - System.out.println(" ConfigTool timezone [regexp]"); - System.out.println(""); - System.out.println(" Shows the available timezones"); - System.out.println(""); - System.out.println(" BundleTool digest "); - System.out.println(""); - System.out.println(" Calculates the digest of a string."); - System.out.println(""); - } +/* + * Copyright (C) 2001, 2002 The Mir-coders group + * + * This file is part of Mir. + * + * Mir is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Mir is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Mir; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * In addition, as a special exception, The Mir-coders gives permission to link + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. + */ +package tool; + +import gnu.regexp.RE; + +import java.security.MessageDigest; +import java.util.TimeZone; + +import mir.util.StringRoutines; + +/** + *

Title:

+ *

Description:

+ *

Copyright: Copyright (c) 2003

+ *

Company:

+ * @author not attributable + * @version 1.0 + */ + +public class ConfigTool { + public ConfigTool() { + } + + public static void timezone(String aSpecification) { + try { + RE specification = new RE(aSpecification); + String[] timeZoneIds = TimeZone.getAvailableIDs(); + + System.out.println("ID\tOffset\tDST?\tName"); + for (int i=0; i= 1) { + command = anArguments[0]; + + if (command.equals("timezone")) { + if (anArguments.length<=2) { + if (anArguments.length==2) + timezone(anArguments[1]); + else + timezone(".*"); + } + + return; + } + else if (command.equals("digest")) { + if (anArguments.length == 3) { + digest(anArguments[1], anArguments[2]); + + return; + } + } + } + + + + System.out.println("Usage:"); + + System.out.println(" ConfigTool timezone [regexp]"); + System.out.println(""); + System.out.println(" Shows the available timezones"); + System.out.println(""); + System.out.println(" BundleTool digest "); + System.out.println(""); + System.out.println(" Calculates the digest of a string."); + System.out.println(""); + } } \ No newline at end of file diff --git a/source/tool/ImageTool.java b/source/tool/ImageTool.java new file mode 100755 index 00000000..ff68b2c9 --- /dev/null +++ b/source/tool/ImageTool.java @@ -0,0 +1,119 @@ +package tool; + +import java.awt.Transparency; +import java.awt.image.ColorModel; +import java.awt.image.DataBuffer; +import java.awt.image.SampleModel; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; + +import javax.media.jai.JAI; +import javax.media.jai.PlanarImage; + + +/** + * This class displays basic information about the image. + */ +public class ImageTool { + /** + * The application entry point. + * @param args the command line arguments. + */ + public static void main(String[] args) throws FileNotFoundException { + // We need one argument: the image filename. + if (args.length != 1) { + System.err.println("Usage: java tool.ImageTool image"); + System.exit(0); + } + FileInputStream fi = new FileInputStream(args[0]); + // Open the image (using the name passed as a command line parameter) + PlanarImage pi = JAI.create("ImageRead", fi); + + // Display image data. First, the image size (non-JAI related). + File image = new File(args[0]); + System.out.println("Image file size:" + image.length() + " bytes."); + + // Now let's display the image dimensions and coordinates. + System.out.print("Dimensions: "); + System.out.print(pi.getWidth() + "x" + pi.getHeight() + " pixels"); + System.out.println(" (from " + pi.getMinX() + "," + pi.getMinY() + " to " + + pi.getMaxX() + "," + pi.getMaxY() + ")"); + + // Tiles number, dimensions and coordinates. + System.out.print("Tiles:"); + System.out.print(pi.getTileWidth() + "x" + pi.getTileHeight() + " pixels" + + " (" + pi.getNumXTiles() + "x" + pi.getNumYTiles() + + " tiles)"); + System.out.print(" (from " + pi.getMinTileX() + "," + pi.getMinTileY() + + " to " + pi.getMaxTileX() + "," + pi.getMaxTileY() + ")"); + System.out.println(" offset: " + pi.getTileGridXOffset() + "," + + pi.getTileGridXOffset()); + + // Display info about the SampleModel of the image. + SampleModel sm = pi.getSampleModel(); + System.out.println("Number of bands: " + sm.getNumBands()); + System.out.print("Data type: "); + + switch (sm.getDataType()) { + case DataBuffer.TYPE_BYTE: + System.out.println("byte"); + + break; + + case DataBuffer.TYPE_SHORT: + System.out.println("short"); + + break; + + case DataBuffer.TYPE_USHORT: + System.out.println("unsigned short"); + + break; + + case DataBuffer.TYPE_INT: + System.out.println("int"); + + break; + + case DataBuffer.TYPE_FLOAT: + System.out.println("float"); + + break; + + case DataBuffer.TYPE_DOUBLE: + System.out.println("double"); + + break; + + case DataBuffer.TYPE_UNDEFINED: + System.out.println("undefined"); + + break; + } + + // Display info about the ColorModel of the image. + ColorModel cm = pi.getColorModel(); + System.out.println("Number of color components: " + cm.getNumComponents()); + System.out.println("Bits per pixel: " + cm.getPixelSize()); + System.out.print("Transparency: "); + + switch (cm.getTransparency()) { + case Transparency.OPAQUE: + System.out.println("opaque"); + + break; + + case Transparency.BITMASK: + System.out.println("bitmask"); + + break; + + case Transparency.TRANSLUCENT: + System.out.println("translucent"); + + break; + } + } +} diff --git a/templates/admin/EDITFUNCTIONS.template b/templates/admin/EDITFUNCTIONS.template index d9830b9a..5a374a90 100755 --- a/templates/admin/EDITFUNCTIONS.template +++ b/templates/admin/EDITFUNCTIONS.template @@ -36,7 +36,7 @@ - + @@ -81,7 +81,16 @@ checked>   + + + + ${lang("yes")}${lang("no")}   + + + + + diff --git a/templates/admin/EDITFUNCTIONS.tmpl b/templates/admin/EDITFUNCTIONS.tmpl deleted file mode 100755 index 5fb96317..00000000 --- a/templates/admin/EDITFUNCTIONS.tmpl +++ /dev/null @@ -1,126 +0,0 @@ - - - -
- - - - - - - - - -
- -
- - - - - ${aLabel}: - -
- ${aHint} -
- - - -
- - - - - - - - - - - - - - - - - - ${utility.encodeHTML(fieldcontent)} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - checked>   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/templates/admin/FUNCTIONS.template b/templates/admin/FUNCTIONS.template index 2b1eeed3..6c08aa3c 100755 --- a/templates/admin/FUNCTIONS.template +++ b/templates/admin/FUNCTIONS.template @@ -8,6 +8,15 @@ + + + + + + +
+
+
@@ -50,13 +59,13 @@ - ${entry[i]} + ${utility.prettyEncodeHTML(entry[i])} - ${lang("delete")} + ${lang("delete")} | @@ -81,21 +90,22 @@ extra navigation - +

- [+] ${lang("add")}   - [<] ${lang("back")}   - [<<<] ${lang("head.start")} + + [+] ${lang("add")}   + + [<] ${lang("back")}   + [<<<] ${lang("head.start")}

- +

[+] ${lang("add")}   - [<] ${lang("back")}   - [<<<] ${lang("head.start")} + [<] ${lang("back")}  

@@ -103,6 +113,27 @@

[<] ${lang("back")}  

+ + + + + + + + + + + + ${label}: + + + + ${lang(langprefix+a[valuefield])}${a[valuefield]} + + + + + @@ -118,13 +149,26 @@ + + + + + + + + + + - - - - + + + + + + + @@ -138,13 +182,13 @@ - + ${label}: - + ${utility.encodeHTML(fieldcontent)} @@ -176,19 +220,38 @@ - + + + + + + + + + + + + + + + + + + ${label}: + +
+ ${hint} +
- checked
>   + ${utility.prettyEncodeHTML(fieldcontent)} - - - + @@ -223,57 +286,60 @@ complete search-form for contenentries, not sure if it works from everywhere - + -
+ - + + + - class="bg-neutral"> - - - - - - + class="bg-neutral"> + + + + + + - - + - - - - @@ -346,15 +412,15 @@ functions to show media for an article/comment edit page - - + + - - + + - + @@ -374,40 +440,49 @@ - + + + - + + + - - + + + - + + + @@ -416,39 +491,50 @@ - + + + - + + + + - + + + - + + +
class="table-head"class="small bg-neutral" valign="bottom"> ${lang("contentsearch.value")}class="table-head"class="small bg-neutral" valign="bottom"> ${lang("contentsearch.field")}class="table-head"class="small bg-neutral" valign="bottom"> ${lang("contentsearch.publishedstate")}class="table-head"class="small bg-neutral" valign="bottom"> ${lang("contentsearch.articletype")}class="table-head"class="small bg-neutral" valign="bottom"> ${lang("contentsearch.order")}class="table_head"class="small bg_neutral" valign="bottom">  
class="table-head"class="small bg-neutral" valign="bottom"> ${lang("contentsearch.value")}class="table-head"class="small bg-neutral" valign="bottom"> ${lang("contentsearch.field")}class="table-head"class="small bg-neutral" valign="bottom"> ${lang("contentsearch.publishedstate")}class="table-head"class="small bg-neutral" valign="bottom"> ${lang("contentsearch.articletype")}class="table-head"class="small bg-neutral" valign="bottom"> ${lang("contentsearch.order")}class="table_head"class="small bg_neutral" valign="bottom">  
class="listrow2">class="listrow2"> + class="listrow2">class="listrow2"> class="listrow2"> + class="listrow2"> class="listrow2"> + class="listrow2"> class="listrow2"> + class="listrow2"> class="listrow2"> + class="listrow2">
${lang("content.images")}: - [+] ${lang("content.addimage")} | - ${lang("content.uploadimage")} - + [+] ${lang("content.addimage")} | + ${lang("content.uploadimage")} +
- edit  - - [-] ${lang("delete")} + edit  + [-] ${lang("deattach")} | + ${lang("edit")} +
${lang("content.audio")}: - [+] ${lang("content.addaudio")} | - ${lang("content.uploadaudio")} - + [+] ${lang("content.addaudio")} | + ${lang("content.uploadaudio")} +
- edit  - - [-] ${lang("delete")} + edit  + [-] ${lang("deattach")} | + ${lang("edit")} +
${lang("content.video")}: - [+] ${lang("content.addvideo")} | - ${lang("content.uploadvideo")} - + [+] ${lang("content.addvideo")} | + ${lang("content.uploadvideo")} +
- edit  - - [-] ${lang("delete")} + edit  + [-] ${lang("deattach")} | + ${lang("edit")} +
${lang("content.other")}: - [+] ${lang("content.addother")} | - ${lang("content.uploadother")} - + [+] ${lang("content.addother")} | + ${lang("content.uploadother")} +
- edit  - - [-] ${lang("delete")} + edit  + [-] ${lang("deattach")} | + ${lang("edit")} +
diff --git a/templates/admin/FUNCTIONS.tmpl b/templates/admin/FUNCTIONS.tmpl deleted file mode 100755 index 3c3409ee..00000000 --- a/templates/admin/FUNCTIONS.tmpl +++ /dev/null @@ -1,457 +0,0 @@ - - - - - ${aLabel} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- ${i} - -   -
- ${entry[i]} - - - ${lang("delete")} - - - | - - - ${lang("edit")} - -
- ${aCount} ${lang("records")} / ${lang("show_from_to", aFrom, aTo)} -
-
- - -extra navigation - -

- [+] ${lang("add")}   - [<] ${lang("back")}   - [<<<] ${lang("head.start")} -

-
- - -

- - [+] ${lang("add")}   - - [<] ${lang("back")}   - [<<<] ${lang("head.start")} -

-
- - -

[<] ${lang("back")}  

-
- - - - - ${label}: - - - - - - - - - - - - - - - - - - - ${label}: - - - - - - - - - - - - ${label}: - - - - ${utility.encodeHTML(fieldcontent)} - - - - - - - - ${label}: - - - - - - - - - - - - ${label}: - - - - - - - - - - - - - - ${label}: - - - - checked>   - - - - - - - - - ${label}: - -
- ${hint} -
- - - - - - -
- - - - - - ${label}: - -
- ${hint} -
- - - - - - -
- -complete search-form for contenentries, not sure if it works from everywhere - - - - - - - - - class="bg-neutral"> - - - - - - - - - - - - - - - -
class="table-head"class="small bg-neutral" valign="bottom"> ${lang("contentsearch.value")}class="table-head"class="small bg-neutral" valign="bottom"> ${lang("contentsearch.field")}class="table-head"class="small bg-neutral" valign="bottom"> ${lang("contentsearch.publishedstate")}class="table-head"class="small bg-neutral" valign="bottom"> ${lang("contentsearch.articletype")}class="table-head"class="small bg-neutral" valign="bottom"> ${lang("contentsearch.order")}class="table_head"class="small bg_neutral" valign="bottom">  
class="listrow2">class="listrow2"> - - class="listrow2"> - - class="listrow2"> - - class="listrow2"> - - class="listrow2"> - -
- - -
- -browse function, only called if necessary - - -

- - [ < ] ${lang("list.previous")}   - - - ${lang("list.next")} [ > ] - -

-
-
- - -previous next links - - -

- - [ < ] ${lang("list.previous")} - - -    - - - ${lang("list.next")} [ > ] - -

-
-
- - -multifunctional help - popup or not - big or small designs - - - - - - - - [ ? ] ${lang("help")}[?] - - - - - - - [ ? ] ${lang("help")} - - [?] - - - - - - -functions to show media for an article/comment edit page - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- ${lang("content.attachments")} -
- ${lang("content.images")}: - - [+] ${lang("content.addimage")} | - ${lang("content.uploadimage")} -
- edit  - - [-] ${lang("delete")} -
- ${lang("content.audio")}: - - [+] ${lang("content.addaudio")} | - ${lang("content.uploadaudio")} -
- edit  - - [-] ${lang("delete")} -
- ${lang("content.video")}: - - [+] ${lang("content.addvideo")} | - ${lang("content.uploadvideo")} -
- edit  - - [-] ${lang("delete")} -
- ${lang("content.other")}: - - [+] ${lang("content.addother")} | - ${lang("content.uploadother")} -
- edit  - - [-] ${lang("delete")} -
-
- - diff --git a/templates/admin/FUNCTIONS_media.template b/templates/admin/FUNCTIONS_media.template index 3a0932c1..de87ba36 100755 --- a/templates/admin/FUNCTIONS_media.template +++ b/templates/admin/FUNCTIONS_media.template @@ -7,69 +7,73 @@ -
- - - - - - - - - - - - - - - - - - - - - + + + + + +
${lang("search")}:${lang("medialist.search_text_in")}:${lang("media.published")}:${lang("media.mediafolder")}: [+] ${lang("add")}
- - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - -
${lang("search")}:${lang("medialist.search_text_in")}:${lang("media.published")}:${lang("media.mediafolder")}: [+] ${lang("add")}
+ + + + + + + - - - - - -   -
- - - +
+ + +   +
+ + + + + + + + - @@ -83,8 +87,6 @@ ${lang("media.format")} - ${lang("media.size")} - ${lang("media.mediafolder")} ${lang("media.creator")} @@ -100,18 +102,20 @@ - + - ${entry.title}  -
${entry.description}
+ ${utility.encodeHTML(entry.title)}  +
${utility.encodeHTML(entry.description)} +

+ ${lang("media.published")}: ${entry.publish_server}${entry.publish_path}
+ ${lang("media.articles")} | + ${lang("media.comments")} + - ${entry.media_descr}  - - - ${entry.human_readable_size}  + ${entry.info.mediaType}  @@ -144,7 +148,12 @@ - + + + + + +

${lang("no_matches_found")}

diff --git a/templates/admin/LISTFUNCTIONS.template b/templates/admin/LISTFUNCTIONS.template index 256e6528..27f043b0 100755 --- a/templates/admin/LISTFUNCTIONS.template +++ b/templates/admin/LISTFUNCTIONS.template @@ -16,12 +16,27 @@ ${i} - +  
+ + + + + + ${i} + + + + +   + + + + @@ -34,6 +49,66 @@ + + + + + + + + + + + + ${i} + + + + + + + + + + | + + ${aLinkTitles[index]} + + + + + + + + + + + + + + + + + + ${i} + + + + + + + + + + + | + + ${aLinkTitles[index]} + + + + + diff --git a/templates/admin/abuse.filter.template b/templates/admin/abuse.filter.template index 0fc20dc0..2597360e 100755 --- a/templates/admin/abuse.filter.template +++ b/templates/admin/abuse.filter.template @@ -32,9 +32,9 @@ - + - + diff --git a/templates/admin/abuse.filters.template b/templates/admin/abuse.filters.template index 9ec9763e..5c9db62b 100755 --- a/templates/admin/abuse.filters.template +++ b/templates/admin/abuse.filters.template @@ -17,42 +17,48 @@

- + + lang("abuse.filter.lasthit")])> - - - - - + ["&do=edit", "&do=delete"], + [lang("edit"), lang("delete")])> + + + + + + diff --git a/templates/admin/abuse.log.template b/templates/admin/abuse.log.template index 73882a58..ec520575 100755 --- a/templates/admin/abuse.log.template +++ b/templates/admin/abuse.log.template @@ -18,6 +18,8 @@ ${lang("abuse.log.address")} ${lang("abuse.log.object")} ${lang("abuse.log.browser")} + ${lang("abuse.log.filtertype")} + ${lang("abuse.log.filterexpression")} @@ -33,10 +35,12 @@
${l.browser} + ${lang("abuse.filtertype."+l.hitfiltertype)} + ${utility.encodeHTML(l.hitfilterexpression)} -   +   diff --git a/templates/admin/audio.template b/templates/admin/audio.template index aab208ac..8ffe80d9 100755 --- a/templates/admin/audio.template +++ b/templates/admin/audio.template @@ -4,15 +4,13 @@ -    +    - ${lang("media.created")}: ${uploadedmedia.webdb_create} - / ${lang("media.changed")} ${uploadedmedia.webdb_lastchange}
- ${lang("media.published")}: ${uploadedmedia.publish_date} / ${uploadedmedia.publish_server}${uploadedmedia.publish_path}
- ${lang("media.format")}: ${uploadedmedia.mimetype} / ${uploadedmedia.media_descr}
+ ${lang("media.created")}: ${uploadedmedia.creationdate.format(config["Mir.DefaultDateTimeFormat"])} + ${lang("media.urls")}: ${uploadedmedia.publish_server}${uploadedmedia.publish_path}
+ ${lang("media.format")}: ${uploadedmedia.info.mediaType}
${lang("media.size")}: ${uploadedmedia.human_readable_size}
- ${lang("media.rights")}: ${uploadedmedia.rightsHashdata[to_rights]["name"]}
diff --git a/templates/admin/comment.template b/templates/admin/comment.template index deb5feb2..1fecf8eb 100755 --- a/templates/admin/comment.template +++ b/templates/admin/comment.template @@ -29,13 +29,15 @@ + + - @@ -45,9 +47,9 @@ ${lang("comment.published")} checked> - + - + @@ -89,14 +91,15 @@ + - + - + @@ -109,7 +112,7 @@ - + diff --git a/templates/admin/commentlist.template b/templates/admin/commentlist.template index 229f7568..184d544b 100755 --- a/templates/admin/commentlist.template +++ b/templates/admin/commentlist.template @@ -37,6 +37,7 @@ + @@ -91,6 +92,9 @@ ${lang("comment.article")} / ${lang("comment.title")} / ${lang("comment.creator")} / ${lang("comment.text")} + ${lang("comment.comment")} + +   @@ -125,9 +129,11 @@ ${lang("edit")} | + ${lang("start.show")} | + ${lang("commentlist.allcomments")} @@ -141,7 +147,7 @@ ${lang("by")}: ${entry.creator}
- ${utility.encodeHTML(entry.description)} + ${utility.prettyEncodeHTML(utility.subString(entry.description, 0, config["Mir.Admin.ListTextLengthLimit"]))}
URL: ${entry.main_url}

@@ -170,6 +176,9 @@ + ${utility.prettyEncodeHTML(entry.comment)} + +   [${lang("delete")}] @@ -179,7 +188,7 @@ - + ${count} ${lang("records")} / ${lang("show_from_to", from, to)} diff --git a/templates/admin/confirm.template b/templates/admin/confirm.template index 38d307f8..95988576 100755 --- a/templates/admin/confirm.template +++ b/templates/admin/confirm.template @@ -16,8 +16,8 @@ - -
+ +

${lang("confirm.text")}

diff --git a/templates/admin/confirm.tmpl b/templates/admin/confirm.tmpl deleted file mode 100755 index 1479f84f..00000000 --- a/templates/admin/confirm.tmpl +++ /dev/null @@ -1,30 +0,0 @@ - - - ${config["Mir.Name"]} | ${lang("confirm.htmltitle")} - - - - -
- -
-
-

${lang("confirm.really_delete")}

-

- - - - - - - -
-
- ${lang("confirm.text")} -

-
-
-
- - - diff --git a/templates/admin/content.template b/templates/admin/content.template index 665ae7b3..dfe72e56 100755 --- a/templates/admin/content.template +++ b/templates/admin/content.template @@ -9,6 +9,58 @@ + + + + + + +
+ + + + + + + + ${lang("content.lockedby", article.lockinguser.login)} + + + +
+ + + + + +
+
+ +
+ + + + + +
+
+ +
+ + + + + +
+
+
+
+ +
@@ -18,39 +70,37 @@ +
- - - - ${lang("content.published")} : - checked> - - + + checked> + + + + + - + ${lang("yes")}${lang("no")}
- + + changedate, creationdate aren't available for new articles + - - + + - - - - + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - + + + + +
+ id # : @@ -58,6 +108,8 @@
${lang("content.lastchange_date")}: @@ -72,128 +124,150 @@ ${lang("content.create_date")}: - ${utility.encodeHTML(article.creationdate.format(config["Mir.DefaultDateTimeFormat"]))}
${lang("edit")}: -   (yyyy-mm-dd [HH:mm]) + ${utility.encodeHTML(article.creationdate.format(config["Mir.DefaultDateTimeFormat"]))} + +
${lang("edit")}: +   (yyyy-mm-dd [HH:mm]) +
- ${lang("content.topic")}: - - - - - - - - - - + + + + - + + + + ${t.title}
- -
- - -
+ ${lang(r.key)}: + + + + + + + + + + + + + + + + + + + +
+ checked> + ${t.title} + +   +
+ + + + + -
- checked> - ${t.title} - -   -
- - -
-
- - - - - -
+ + + + + +
- - - - - - - -
- - - - - - +
- ${lang("content.family")} -
+ - - - + - - +
- ${lang("content.parent")}: - - - ${utility.encodeHTML(article.parent.title)}
- ${lang("content.viewparent")} | - ${lang("content.clearparent")} | -
-  ${lang("content.selectparent")} -
-
- ${lang("content.children")}: - - ${lang("content.viewchildren")} + + + + + + + + + + + + + + +
+ ${lang("content.family")} +
+ ${lang("content.parent")}: + + + ${utility.encodeHTML(article.parent.title)}
+ ${lang("content.viewparent")} | + ${lang("content.clearparent")} | +
+ +  ${lang("content.selectparent")} + +
+ ${lang("content.children")}: + + ${lang("content.viewchildren")} +
+
+
-
- -
-
- - + + + diff --git a/templates/admin/content.tmpl b/templates/admin/content.tmpl deleted file mode 100755 index 07cbcd9f..00000000 --- a/templates/admin/content.tmpl +++ /dev/null @@ -1,204 +0,0 @@ - - - ${lang("content.htmltitle")} - - - - - - - - - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - - ${lang("content.published")} : - checked> - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- id # : - - ${request.article.id} -
- ${lang("content.lastchange_date")}: - - ${utility.encodeHTML(request.article.webdbLastchange.format(config["Mir.DefaultDateTimeFormat"]))}
-
- ${lang("content.webdbCreate")}: - - ${utility.encodeHTML(request.article.webdbCreate.format(config["Mir.DefaultDateTimeFormat"]))}
${lang("edit")}: -   (yyyy-mm-dd [HH:mm]) -
- ${lang("content.topic")}: - - - - - - - - - - - - - - - - - - -
- checked> - ${t.title} - -   -
- - -
-
- - - - - -
- - - - - - - - - -
- - - - - - - - - - - - - - - -
- ${lang("content.family")} -
- ${lang("content.parent")}: - - - ${utility.encodeHTML(request.article.parentContent.title)}
- ${lang("content.viewparent")} | - ${lang("content.clearparent")} | -
-  ${lang("content.selectparent")} -
- ${lang("content.children")}: - - ${lang("content.viewchildren")} -
- -
- -
- -
- -
- - - - diff --git a/templates/admin/contentlist.template b/templates/admin/contentlist.template index e5800105..b89e0aa1 100755 --- a/templates/admin/contentlist.template +++ b/templates/admin/contentlist.template @@ -2,7 +2,7 @@ if selectarticleurl is set, this list is used to select an article - + @@ -33,7 +33,7 @@

-   (${lang("commentlist.activate")}) +   (${lang("commentlist.activate")})

@@ -68,8 +68,8 @@ Pub.- HTML- - ${lang("articletypes." + entry.article_type.name)} ${entry.title} (${entry.id})
- ${lang("by")} ${utility.encodeHTML(entry.creator)}
+ ${lang("articletypes." + entry.article_type.name)} ${utility.prettyEncodeHTML(entry.title)} (${entry.id})
+ ${lang("by")} ${utility.prettyEncodeHTML(entry.creator)}
@@ -94,7 +94,7 @@ | ${lang("edit")} | - ${lang("preview")} | + ${lang("preview")} | ${lang("contentlist.comments")} (${entry.commentcount}) @@ -102,7 +102,7 @@ class="listrow3"class="listrow4"
valign="top"> - ${entry.comment}  + ${utility.prettyEncodeHTML(entry.comment)}  diff --git a/templates/admin/contentlist.tmpl b/templates/admin/contentlist.tmpl deleted file mode 100755 index 05d0bf53..00000000 --- a/templates/admin/contentlist.tmpl +++ /dev/null @@ -1,146 +0,0 @@ - - if selectarticleurl is set, this list is used to select an article - - - - - - - - - - - - - - - - - - - ${config["Mir.Name"]} | ${lang("contentlist.htmltitle")} - - - - - - - - - - - - - - - -
- - - -

-   (${lang("commentlist.activate")}) -

- - - - - - - - - - - - - - - - class="listrow1"class="listrow2"> - - - - - - - - - -
- - ${lang("content.creationdate")}
- ${lang("content.modificationdate")}
- ${lang("content.status")} -
-
- ${lang("content.type")} - ${lang("content.title")} (id # )
- ${lang("content.creator")} -
- ${lang("content.comment")} -  
- ${entry.webdbCreate.format(config["Mir.DefaultDateTimeFormat"])}
- ${entry.webdbLastchange.format(config["Mir.DefaultDateTimeFormat"])}
- Pub.- HTML- -
- ${lang("articletypes." + entry.articleType.name)} ${entry.title} (${entry.id})
- ${lang("by")} ${utility.encodeHTML(entry.creator)}
- - - - [ ${lang("content.operation."+op)} ] - - - - - [ ${lang("content.operation."+op)} ] - - - - -
- -
-
- | - ${lang("edit")} | - ${lang("preview")} | - ${lang("contentlist.comments")} (${entry.commentsSize}) - - - ${lang("contentlist.select")} -
-
class="listrow3"class="listrow4" valign="top"> - ${entry.comment}  - - - - [${lang("delete")}] - - -
- ${count} ${lang("records")} / ${lang("show_from_to", from, to)} -
- - - -

-   ( ${lang("commentlist.activate")}) -

- -
-
- - - - -

${lang("no_matches_found")}

-
- - - - diff --git a/templates/admin/fileedit.template b/templates/admin/fileedit.template index 28d8c332..181bb28d 100755 --- a/templates/admin/fileedit.template +++ b/templates/admin/fileedit.template @@ -21,12 +21,12 @@ -   - +   +



-   +  
diff --git a/templates/admin/foot.tmpl b/templates/admin/foot.tmpl deleted file mode 100755 index d67fe76e..00000000 --- a/templates/admin/foot.tmpl +++ /dev/null @@ -1,23 +0,0 @@ -
- - - - - - - -
- ${lang("foot.top")} - - |   ${lang("back")} [ < ]   - - - ${config["Mir.Shortname"]} - ${config["Mir.Version"]} -
- - - - - - - diff --git a/templates/admin/head.template b/templates/admin/head.template index 0c942f70..54a269f2 100755 --- a/templates/admin/head.template +++ b/templates/admin/head.template @@ -19,3 +19,22 @@
+ + + + + + +
+ ${lang("system.loggedin")} + + ${u.name} (${u.count}) + + + + ${lang("system.status")} + ${systemstatus} + +
+
+
diff --git a/templates/admin/head.tmpl b/templates/admin/head.tmpl deleted file mode 100755 index 344dc0db..00000000 --- a/templates/admin/head.tmpl +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - -
- ${config["Mir.Name"]}   |   ${config.now.format(config["Mir.DefaultDateTimeFormat"])} - - ${lang("head.changepassword")}   |   - - [ < ] ${lang("back")}   |   - - ${lang("head.start")}   |   - ${lang("head.logout")} - ${session.user.login} - -
-
diff --git a/templates/admin/image.template b/templates/admin/image.template index 18ffebef..7a8edd92 100755 --- a/templates/admin/image.template +++ b/templates/admin/image.template @@ -8,16 +8,13 @@ - +    - ${lang("media.created")}: ${uploadedmedia.webdb_create} - / ${lang("media.changed")} ${uploadedmedia.webdb_lastchange}
- ${lang("media.published")}: ${uploadedmedia.publish_date} / ${uploadedmedia.publish_server}${uploadedmedia.publish_path}
- ${lang("media.format")}: ${uploadedmedia.mimetype} / ${uploadedmedia.media_descr}
- ${lang("media.size")}: ${uploadedmedia.human_readable_size}
- ${lang("media.rights")}: ${uploadedmedia.rightsHashdata[to_rights]["name"]}
+ ${lang("media.created")}: ${uploadedmedia.creationdate.format(config["Mir.DefaultDateTimeFormat"])} + ${lang("media.urls")}: ${uploadedmedia.publish_server}${uploadedmedia.publish_path}
+ ${lang("media.format")}: ${uploadedmedia.info.mediaType}
diff --git a/templates/admin/index.tmpl b/templates/admin/index.tmpl deleted file mode 100755 index ff09e298..00000000 --- a/templates/admin/index.tmpl +++ /dev/null @@ -1,182 +0,0 @@ - - - ${config["Mir.Name"]} | ${lang("start.htmltitle")} - - - - - - - - - - - - - - - - - Middle column - - - - - - RIGHT COLUMN - - - - - - BOTTOM ROW FOR SEARCH - - - - -
- -

${lang("start.administer.title")}

-

- - ${lang("start.administer."+a.name)}
-
-

- -

${lang("start.articles.title")}

-

- - > ${lang("start.allarticlesoftype", lang("articletypes."+a.name))}
-
-
- > ${lang("start.content.not_published")}
- > ${lang("start.content.with_media")}
- > ${lang("start.content.last_changes")}
- > ${lang("start.content.with_comments")}
-
- > ${lang("start.content.all")}
-

-

${lang("start.comments.title")}

-

- - > ${lang("start.allcommentswithstatus", lang("commentstatus."+a.name))}
-
-

- - -

${lang("start.extra.title")}

-

- > ${lang("start.content.hidden")} - -
- > ${lang("start.fileedit."+e+".title")} -
-

-
  - -

${lang("start.addandedit.title")}

-
- > ${lang("start.content.new")} -
- - > ${lang("start.breaking.title")}  - [+] -
- - - ${lang("start.content.open_by_id")}: - - -
-
- - - ${lang("start.comment.open_by_id")}: - - -
- - -
- -

${lang("start.media.title")}

- - - - -

${lang("start.producers.title")}

-

- > ${lang("start.producers.produceAllNew")}
- > ${lang("start.producers.advanced")} -

- -

- ${lang("start.superusermenu")} -

- -
  - - internal messageboard - - -

${lang("start.messageboard.title")}

-
- - [ + ${lang("add")}] - [${lang("edit")}] - - - -

- ${m.title}
- ${m.description}
- - by: ${m.creator} / ${m.webdbCreate.format(config["Mir.DefaultDateTimeFormat"])}}
-
-

-
- -

${lang("start.messageboard.no_messages")} - -

-
-

${lang("start.search.title")}

-
- -
- - - -

- HELP-Demo:
- popup small-link:    popup big-link:

- newwin small-link:    newwin big-link: -

-
- -
- - - - - diff --git a/templates/admin/login.template b/templates/admin/login.template index b9dc81e9..0fc75415 100755 --- a/templates/admin/login.template +++ b/templates/admin/login.template @@ -32,7 +32,7 @@
-
+ @@ -58,7 +58,7 @@ - + diff --git a/templates/admin/logon.tmpl b/templates/admin/logon.tmpl deleted file mode 100755 index d223ccf6..00000000 --- a/templates/admin/logon.tmpl +++ /dev/null @@ -1,77 +0,0 @@ - - - - ${config["Mir.Name"]} | ${lang("login.htmltitle")} - - - - - - - -
-

- ${lang("login.info", - "" + - config["Mir.Contact-email.name"] + - "" - ) - } -

- -
-
- -
${lang("login.title")}
- -
- - - - - - - - - - - - - - - - - - - - - - - - -
${lang("login.name")}:
${lang("login.password")}:
${lang("login.language")}: - -
- -
- - -
-
-
-
- - - - - - diff --git a/templates/admin/mediafolderlist.template b/templates/admin/mediafolderlist.template index 62787b7a..5399c916 100755 --- a/templates/admin/mediafolderlist.template +++ b/templates/admin/mediafolderlist.template @@ -6,16 +6,31 @@ + - + - + + + + + + + + diff --git a/templates/admin/mediatype.template b/templates/admin/mediatype.template new file mode 100755 index 00000000..839b1193 --- /dev/null +++ b/templates/admin/mediatype.template @@ -0,0 +1,42 @@ + + + ${config["Mir.Name"]} | ${lang("mediatype.htmltitle")} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/admin/mediatypelist.template b/templates/admin/mediatypelist.template new file mode 100755 index 00000000..2a9996d7 --- /dev/null +++ b/templates/admin/mediatypelist.template @@ -0,0 +1,26 @@ + + + ${config["Mir.Name"]} | ${lang("mediatypelist.htmltitle")} + + + + + + + + + + + + + + + +

${lang("no_matches_found")}

+
+ + + + + + diff --git a/templates/admin/message.tmpl b/templates/admin/message.tmpl deleted file mode 100755 index 5cd7577c..00000000 --- a/templates/admin/message.tmpl +++ /dev/null @@ -1,45 +0,0 @@ - - - ${config["Mir.Name"]} | ${lang("message.htmltitle")} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/templates/admin/other.template b/templates/admin/other.template index 037cb208..c658d419 100755 --- a/templates/admin/other.template +++ b/templates/admin/other.template @@ -4,15 +4,13 @@ -    +    - ${lang("media.created")}: ${uploadedmedia.webdb_create} - / ${lang("media.changed")} ${uploadedmedia.webdb_lastchange}
- ${lang("media.published")}: ${uploadedmedia.publish_date} / ${uploadedmedia.publish_server}${uploadedmedia.publish_path}
- ${lang("media.format")}: ${uploadedmedia.mimetype} / ${uploadedmedia.media_descr}
+ ${lang("media.created")}: ${uploadedmedia.creationdate.format(config["Mir.DefaultDateTimeFormat"])} + ${lang("media.urls")}: ${uploadedmedia.publish_server}${uploadedmedia.publish_path}
+ ${lang("media.format")}: ${uploadedmedia.info.mediaType}
${lang("media.size")}: ${uploadedmedia.human_readable_size}
- ${lang("media.rights")}: ${uploadedmedia.rightsHashdata[to_rights]["name"]}
diff --git a/templates/admin/producerqueue.template b/templates/admin/producerqueue.template index aa24a48b..9cb10ce6 100755 --- a/templates/admin/producerqueue.template +++ b/templates/admin/producerqueue.template @@ -27,13 +27,11 @@ class="listrow2"class="listrow2"> - - ${v.name} [!] - - ${v.name} - + ${v.name} ${v.description} - ${lang("producer.verb.enqueue")}  + +
+ @@ -93,10 +91,9 @@
- -
- - + +
+
diff --git a/templates/admin/start_admin.template b/templates/admin/start_admin.template index fd893912..145ef36f 100755 --- a/templates/admin/start_admin.template +++ b/templates/admin/start_admin.template @@ -11,7 +11,7 @@ - diff --git a/templates/admin/superusermenu.tmpl b/templates/admin/superusermenu.tmpl deleted file mode 100755 index 74d7d6df..00000000 --- a/templates/admin/superusermenu.tmpl +++ /dev/null @@ -1,36 +0,0 @@ - - - ${config["Mir.Name"]} | ${lang("superusermenu.htmltitle")} - - - - - - - -
+

${lang("start.administer.title")}

@@ -27,7 +27,6 @@
> ${lang("start.content.not_published")}
- > ${lang("start.content.with_media")}
> ${lang("start.content.last_changes")}
> ${lang("start.content.with_comments")}

@@ -58,7 +57,7 @@ Middle column -

+

${lang("start.addandedit.title")}

@@ -72,14 +71,14 @@ ${lang("start.content.open_by_id")}: - +
${lang("start.comment.open_by_id")}: - +
@@ -89,8 +88,14 @@
> ${lang("start.images.title")}  - [+]
- + [+] +
+ + + ${lang("start.images.open_by_id")}: + + +
> ${lang("start.audio.title")}  [+]
@@ -110,10 +115,18 @@

${lang("start.producers.title")}

-

- > ${lang("start.producers.produceAllNew")}
+

${lang("start.superusermenu")} @@ -125,7 +138,7 @@ RIGHT COLUMN -

+ internal messageboard @@ -159,7 +172,7 @@

${lang("start.search.title")}

- +
diff --git a/templates/admin/superusermenu.template b/templates/admin/superusermenu.template index 2e627f17..e6909018 100755 --- a/templates/admin/superusermenu.template +++ b/templates/admin/superusermenu.template @@ -16,10 +16,12 @@

> ${lang("superusermenu.topics")}
> ${lang("superusermenu.articletypes")}
+ > ${lang("superusermenu.mediatypes")}
> ${lang("superusermenu.comment_statuses")}
> ${lang("superusermenu.users")}
> ${lang("superusermenu.languages")}
> ${lang("superusermenu.abuse")}
+ > ${lang("superusermenu.reload")}

 
- - - - - - - -
-

${lang("superusermenu.manage")}:

-

- > ${lang("superusermenu.topics")}
- > ${lang("superusermenu.articletypes")}
- > ${lang("superusermenu.comment_statuses")}
- > ${lang("superusermenu.users")}
- > ${lang("superusermenu.languages")}
- > ${lang("superusermenu.abuse")}
-

-
   
-

[<<<] ${lang("head.start")}

- - - - - - diff --git a/templates/admin/topic.tmpl b/templates/admin/topic.tmpl deleted file mode 100755 index 179a8384..00000000 --- a/templates/admin/topic.tmpl +++ /dev/null @@ -1,50 +0,0 @@ - - - ${config["Mir.Name"]} | ${lang("topic.htmltitle")} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/templates/admin/topiclist.tmpl b/templates/admin/topiclist.tmpl deleted file mode 100755 index da1a72fd..00000000 --- a/templates/admin/topiclist.tmpl +++ /dev/null @@ -1,39 +0,0 @@ - - - ${config["Mir.Name"]} | ${lang("topiclist.htmltitle")} - - - - - - - - - - - - - - - - - -

${lang("no_matches_found")}

-
- - - - - - diff --git a/templates/admin/uploadedmedia.template b/templates/admin/uploadedmedia.template index 72d0f8ab..4780fbd3 100755 --- a/templates/admin/uploadedmedia.template +++ b/templates/admin/uploadedmedia.template @@ -24,7 +24,7 @@ ${lang("media.nr_of_media")} :
-    +    @@ -43,7 +43,23 @@ - + + + + + + + + @@ -83,10 +99,10 @@ diff --git a/templates/admin/user.template b/templates/admin/user.template index ddef833c..399a7da2 100755 --- a/templates/admin/user.template +++ b/templates/admin/user.template @@ -9,51 +9,61 @@ -
- - - - - - - - - - - + + + + + + + + + + + + -
+   + +
+
+
 
- + ${lang("media.is_published")} checked> -    +   
- - + + - - + + + + + + - - + + + - + - + + + + + - - - -
- - - - - - - -
- - - + + + + + + + + + + + - + + + + + diff --git a/templates/admin/usererror.template b/templates/admin/usererror.template index 4409c367..3b7bc0ce 100755 --- a/templates/admin/usererror.template +++ b/templates/admin/usererror.template @@ -1,37 +1,19 @@ - -${lang("usererror.htmltitle")} - - - - - - - - - - - - - - - - -
-

${lang("usererror.title")}

-
-
-

${lang("usererror.text")} -

-

-

${data.errorstring} -

-

-

-

${lang("usererror.what_to_do")} - -

-

- - + + ${config["Mir.Name"]} | ${lang("error.htmltitle")} + + + + + +
+ +

${lang("usererror.title")}

+


${date.format(config["Mir.DefaultDateTimeFormat"])} -- ${errorstring}

+

${lang("usererror.what_to_do")}

+ +
+ + + diff --git a/templates/admin/userlist.template b/templates/admin/userlist.template index c97ebfb1..4aaee225 100755 --- a/templates/admin/userlist.template +++ b/templates/admin/userlist.template @@ -7,17 +7,61 @@ + - - - - - - + + + + + + + + + + + + + + + + + + +

${lang("no_matches_found")}

+
-

${lang("no_matches_found")}

+ + + + + + + + +

${lang("no_matches_found")}

+
diff --git a/templates/admin/video.template b/templates/admin/video.template index 037cb208..c658d419 100755 --- a/templates/admin/video.template +++ b/templates/admin/video.template @@ -4,15 +4,13 @@ -    +    - ${lang("media.created")}: ${uploadedmedia.webdb_create} - / ${lang("media.changed")} ${uploadedmedia.webdb_lastchange}
- ${lang("media.published")}: ${uploadedmedia.publish_date} / ${uploadedmedia.publish_server}${uploadedmedia.publish_path}
- ${lang("media.format")}: ${uploadedmedia.mimetype} / ${uploadedmedia.media_descr}
+ ${lang("media.created")}: ${uploadedmedia.creationdate.format(config["Mir.DefaultDateTimeFormat"])} + ${lang("media.urls")}: ${uploadedmedia.publish_server}${uploadedmedia.publish_path}
+ ${lang("media.format")}: ${uploadedmedia.info.mediaType}
${lang("media.size")}: ${uploadedmedia.human_readable_size}
- ${lang("media.rights")}: ${uploadedmedia.rightsHashdata[to_rights]["name"]}