diff --git a/admin/addAppNote.php b/admin/addAppNote.php index 7169aab..61e2378 100644 --- a/admin/addAppNote.php +++ b/admin/addAppNote.php @@ -39,11 +39,8 @@ if($_REQUEST['sub'] == "Submit") } else if($_REQUEST['sub'] == 'Preview' OR empty($_REQUEST['submit'])) { -?> - - - -\n"; diff --git a/admin/adminAppQueue.php b/admin/adminAppQueue.php index 9da6018..541afcd 100644 --- a/admin/adminAppQueue.php +++ b/admin/adminAppQueue.php @@ -128,11 +128,7 @@ if ($_REQUEST['sub']) { $x = new TableVE("view"); apidb_header("Admin App Queue"); -?> - - - -',"\n"; echo '',"\n"; @@ -140,6 +136,8 @@ if ($_REQUEST['sub']) if (!$oApp) //app version { + HtmlAreaLoaderScript(array("editor")); + echo html_frame_start("Potential duplicate versions in the database","90%","",0); $oApp = new Application($oVersion->iAppId); display_versions($oApp->iAppId, $oApp->aVersionsIds); @@ -181,7 +179,9 @@ if ($_REQUEST['sub']) echo '',"\n"; echo '',"\n"; } else // application - { + { + HtmlAreaLoaderScript(array("editor", "editor2")); + echo html_frame_start("Potential duplicate applications in the database","90%","",0); perform_search_and_output_results($oApp->sName); echo html_frame_end(" "); @@ -274,7 +274,7 @@ if ($_REQUEST['sub']) // application desc echo '
Enter description here
"; + $sAppDescription = "Enter a description of the application here
"; $sVersionDescription = "This is a template; enter version-specific description here
Wine compatibility
@@ -85,9 +85,7 @@ if (isset($_REQUEST['appName']))
if($vendorName) $_REQUEST['vendorId']="";
$oApplication = new Application();
- // FIXME When two htmlarea will be able to live on the same page
- // without problems under gecko, remove the
".$_REQUEST['appDescription']."
", $_REQUEST['keywords']." *** ".$_REQUEST['vendorName'], $_REQUEST['webpage'], $_REQUEST['vendorId'], $_REQUEST['catId']); + $oApplication->create($_REQUEST['appName'], $_REQUEST['appDescription'], $_REQUEST['keywords']." *** ".$_REQUEST['vendorName'], $_REQUEST['webpage'], $_REQUEST['vendorId'], $_REQUEST['catId']); $oVersion = new Version(); $oVersion->create($_REQUEST['versionName'], $_REQUEST['versionDescription'], null, null, $oApplication->iAppId); redirect(apidb_fullurl("index.php")); @@ -116,52 +114,10 @@ elseif (isset($_REQUEST['versionName']) && is_numeric($_REQUEST['appId'])) */ if (isset($_REQUEST['apptype'])) { -// header -apidb_header("Submit Application"); + // header + apidb_header("Submit Application"); -//FIXME: use absolute path in htmlarea_loader.js to avoid code duplication here -?> - - - -'."\n"; @@ -169,7 +125,7 @@ onload = function() { echo "database. The application will be reviewed by the AppDB Administrator\n"; echo "and you will be notified via email if this application will be added to\n"; echo "the database.\n"; - echo "Before continuing please check that you have:\n"; + echo "
Please don't forget to mention which Wine version you used, how well it worked\n"; echo "and if any workaround were needed. Having app descriptions just sponsoring the app\n"; - echo "(Yes, some vendor want to use the appdb for this) or saying \"I haven't tried this app with Wine\" "; + echo "(Yes, some vendors want to use the appdb for this) or saying \"I haven't tried this app with Wine\" "; echo "won't help Wine development or Wine users.
\n"; + echo "Please only submit applications/versions that you have tested.\n"; + echo "Submissions without testing information or not using the provided template will be rejected.\n"; + echo "If you can't see the in-browser editors below please try Firefox, Mozilla or Opera browsers.\n"; echo "After your application has been added you'll be able to submit screenshots for it, post"; echo " messages in its forums or become a maintainer to help others trying to run the application.
"; if(!empty($errors)) @@ -228,7 +187,11 @@ onload = function() { echo '